{include file="public/header" /}
<style type="text/css">.gray-bg{ background: #fff; } .wrapper{ padding:0px;}</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="ibox-content">

                    
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">发消息用户id：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="member_id" name="member_id" value="{$data.member_id|default=''}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">标识id 接收会员id或者，接收的组：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="receive_flag_id" name="receive_flag_id" value="{$data.receive_flag_id|default=''}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">0全体会员 1会员 2组：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="receive_type" name="receive_type" value="{$data.receive_type|default='1'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">内容：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="content" name="content" value="{$data.content|default=''}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">0未读|1已读：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="is_read" name="is_read" value="{$data.is_read|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">-1提示,0文字,1图片,2语音,3视频,4文件,5红包,6位置：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="type" name="type" value="{$data.type|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">-1红包消息待生效|0正常|1发送方删除|2接收方删除|3撤回：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="status" name="status" value="{$data.status|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">红包状态：0待领取、1已领取、2已过期：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="state" name="state" value="{$data.state|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">语音长度：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="second" name="second" value="{$data.second|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="is_count" name="is_count" value="{$data.is_count|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">图片类型(0正常|1阅后即焚)：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="is_burn" name="is_burn" value="{$data.is_burn|default='0'}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">相关数据：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="data" name="data" value="{$data.data|default=''}" />
                                                    </div>
                    </div>
                                        <div class="form-group">
                        <label class="col-sm-2 control-label">添加时间：</label>
                        <div class="col-sm-9">
                                                            <input class="form-control"  type="text" id="create_time" name="create_time" value="{$data.create_time|default='CURRENT_TIMESTAMP'}" />
                                                    </div>
                    </div>
                        </div>
</div>
<input type="hidden" name="id" value="{$data.id|default=0}" />
</form>
</div>
</div>
{include file="public/footer" /}
<script type="text/javascript" src="__STYLE__/admin/js/area.js?ver=20200522"></script>
{load href="__STYLE__/admin/plugins/iCheck/icheck.min.js"}
{load href="__STYLE__/admin/plugins/iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        });
    });

    $("#upload").click(function(){
        layer.open({
            type: 2,
            title: '上传图片',
            shadeClose: true,
            shade: 0.2,
            area: ['70%', '60%'],
            skin:'shangchuantup',
            content: "{:url('common/upload', ['type' => 'avatar'])}",
            shift:-1,
            scrollbar: false,
            moveType: 1,
            moveOut: true
        });
    });
</script>
{include file="public/bottom" /}